package demo5;

/**
 * @program: java-generic
 * @description: 类型通配符
 * @author: bjc
 * @create: 2021-08-15 15:42
 */
public class Box<E> {

    private E first;

    public E getFirst(){
        return first;
    }

    public void setFirst(E first){
        this.first = first;
    }
}
